package com.wwdx.model.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author liguoliang
 * @date 2018/4/23 10:34
 */
public abstract class BasePayDTO {

    /**
     * 支付前验证
     */
    @Data
    public static class PayModel implements Serializable {
        private String orderno;
        private String productName;
        private String productdetails;
        private BigDecimal productPrice;
        private String error;
    }

    /**
     * 支付后回调
     */
    @Data
    public static class PayCallBackDTO implements Serializable{
        /**
         * 订单号
         */
        private String tradeNo;
        /**
         * 商户数据包
         */
        private String attach;
    }
}